package com.scott.crm.role.bean;

import com.scott.base.BaseBean;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author 王伟雄
 * @create 2021/11/29 15:25
 */
@Data
@Table(name="crm_user_role_t")
public class UserRoleBean extends BaseBean {
    @Id
    @Column(name="ID")
    private Integer id;
    @Column(name="USER_ID")
    private Integer userId;
    @Column(name="ROLE_ID")
    private Integer roleId;
    @Transient
    private String userName;
    @Transient
    private String roleName;
    @Transient
    private String phone;
}
